package com.hp.process;

import java.io.Serializable;
import java.util.Date;

public class KeepAlive implements Serializable {

    private static final long serialVersionUID = 6058182211125757097L;

    private String id;//编号
    private String name;//名字
    private String msg;//消息
    private boolean flag;//是否有任务
    private int type;//类型
    private int status;//任务类型
    private Date time;//连接世界

    public KeepAlive() {
    }

    public KeepAlive(String id, String name, String msg, boolean flag, int type, int status, Date time) {
        this.id = id;
        this.name = name;
        this.msg = msg;
        this.flag = flag;
        this.type = type;
        this.status = status;
        this.time = time;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }
}
